package com.hongmeng.operater.domain.newsAndVideo;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hongmeng.common.annotation.Excel;
import com.hongmeng.common.core.domain.BaseEntity;

/**
 * 视频信息对象 hm_video
 *
 * @author hongmeng
 * @date 2020-12-28
 */
@ApiModel("视频信息对象")
public class HmVideo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 视频信息id
     */
    private Integer id;

    /**
     * 标题
     */
    @Excel(name = "标题")
    @ApiModelProperty("标题")
    private String title;

    /**
     * 缩略图
     */
    @Excel(name = "缩略图")
    @ApiModelProperty("缩略图")
    private Integer thumbnailId;

    /**
     * 名称
     */
    @Excel(name = "名称")
    @ApiModelProperty("名称")
    private String videoName;

    /**
     * 关键字
     */
    @Excel(name = "关键字")
    @ApiModelProperty("关键字")
    private String keyWord;

    /**
     * 简介
     */
    @Excel(name = "简介")
    @ApiModelProperty("简介")
    private String synopsis;

    /**
     * 所属专科
     */
    @Excel(name = "所属专科")
    @ApiModelProperty("所属专科")
    private String belongToSpecialty;

    /**
     * 医生专家
     */
    @Excel(name = "医生专家")
    @ApiModelProperty("医生专家")
    private String doctorSpecialist;

    /**
     * 区域
     */
    @Excel(name = "区域")
    @ApiModelProperty("区域")
    private String area;

    /**
     * 医院
     */
    @Excel(name = "医院")
    @ApiModelProperty("医院")
    private String hospital;

    /** 视频文件id */
    @Excel(name = "视频文件id")
    @ApiModelProperty("视频文件id")
    private String videoFileIds;

    /** 视频类型 */
    @Excel(name = "视频类型")
    @ApiModelProperty("视频类型")
    private String videoType;

    /**
     * 视频状态
     */
    @Excel(name = "视频状态")
    @ApiModelProperty("视频状态")
    private String videoState;

    /**
     * 视频审核备注
     */
    @Excel(name = "视频审核备注")
    @ApiModelProperty("视频审核备注")
    private String videoRemarks;

    /**
     * 使用情况
     */
    @Excel(name = "使用情况")
    @ApiModelProperty("使用情况")
    private String useType;

    /**
     * 发布时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("发布时间")
    private Date pubdate;

    /**
     * 作者
     */
    @Excel(name = "作者")
    @ApiModelProperty("作者")
    private String author;

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTitle() {
        return title;
    }

    public void setThumbnailId(Integer thumbnailId) {
        this.thumbnailId = thumbnailId;
    }

    public Integer getThumbnailId() {
        return thumbnailId;
    }

    public void setVideoName(String videoName) {
        this.videoName = videoName;
    }

    public String getVideoName() {
        return videoName;
    }

    public void setKeyWord(String keyWord) {
        this.keyWord = keyWord;
    }

    public String getKeyWord() {
        return keyWord;
    }

    public void setSynopsis(String synopsis) {
        this.synopsis = synopsis;
    }

    public String getSynopsis() {
        return synopsis;
    }

    public void setBelongToSpecialty(String belongToSpecialty) {
        this.belongToSpecialty = belongToSpecialty;
    }

    public String getBelongToSpecialty() {
        return belongToSpecialty;
    }

    public void setDoctorSpecialist(String doctorSpecialist) {
        this.doctorSpecialist = doctorSpecialist;
    }

    public String getDoctorSpecialist() {
        return doctorSpecialist;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getArea() {
        return area;
    }

    public void setHospital(String hospital) {
        this.hospital = hospital;
    }

    public String getHospital() {
        return hospital;
    }

    public String getVideoType() {
        return videoType;
    }

    public void setVideoType(String videoType) {
        this.videoType = videoType;
    }

    public void setVideoState(String videoState) {
        this.videoState = videoState;
    }

    public String getVideoState() {
        return videoState;
    }

    public void setVideoRemarks(String videoRemarks) {
        this.videoRemarks = videoRemarks;
    }

    public String getVideoRemarks() {
        return videoRemarks;
    }

    public void setUseType(String useType) {
        this.useType = useType;
    }

    public String getUseType() {
        return useType;
    }

    public void setPubdate(Date pubdate) {
        this.pubdate = pubdate;
    }

    public Date getPubdate() {
        return pubdate;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getAuthor() {
        return author;
    }

    public String getVideoFileIds() {
        return videoFileIds;
    }

    public void setVideoFileIds(String videoFileIds) {
        this.videoFileIds = videoFileIds;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("title", getTitle())
                .append("thumbnailId", getThumbnailId())
                .append("videoName", getVideoName())
                .append("keyWord", getKeyWord())
                .append("synopsis", getSynopsis())
                .append("belongToSpecialty", getBelongToSpecialty())
                .append("doctorSpecialist", getDoctorSpecialist())
                .append("area", getArea())
                .append("hospital", getHospital())
                .append("videoFileIds", getVideoFileIds())
                .append("videoType", getVideoType())
                .append("videoState", getVideoState())
                .append("videoRemarks", getVideoRemarks())
                .append("useType", getUseType())
                .append("pubdate", getPubdate())
                .append("author", getAuthor())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
